#include "itemmenuaction.h"
#include <QAction>
ItemMenuAction::ItemMenuAction(QObject *parent) :
    QAction(parent)
{
}
ItemMenuAction::ItemMenuAction(const QIcon &icon, const QString &text, QObject *parent): QAction(
        icon, text, parent) {}
//void ItemMenuAction::mousePressEvent(QMouseEvent *ev){
//     cout<<"======="<<endl;
//    if(ev->button()==Qt::LeftButton){
//        emit clicked();
//    }
//}
//void ItemMenuAction::showDialog(){
//    cout<<"-------"<<endl;
//}

